<?php
if(version_compare(PHP_VERSION,'5.4.0','<')){exit('温馨提示:请升级当前PHP环境,本版本解析需PHP5.4以上版本支持！');}
define('SELF', pathinfo(__file__, PATHINFO_BASENAME));
define('FCPATH', str_replace("\\", "/", str_replace(SELF, '', __file__)));
require_once FCPATH . 'config.php';
@$url = htmlspecialchars($_GET['url'] ? $_GET['url'] : $_GET['vid']);
if(!isset($_GET['url'])){
	exit('<html><meta name="robots" content="noarchive"><head><title>荒凉云视解析系统 - 全网视频无广告解析</title></head><style>h1{color:#C7636C; text-align:center; font-family: Microsoft Jhenghei;}p{color:#f90; font-size: 1.2rem;text-align:center;font-family: Microsoft Jhenghei;}</style><body bgcolor="#484165"><table width="100%" height="100%" align="center"><td align="center"><h1>欢迎使用荒凉云视解析系统</h1><p>如有任何问题请联系管理员处理，第一时间为您解决后顾之忧</p></table></body></html>');
} else if(isset($_GET['url'])&&$_GET['url'] == ''){
	exit('<html><meta name="robots" content="noarchive"><head><title>荒凉云视解析系统 - 全网视频无广告解析</title></head><style>h1{color:#33CCFF; text-align:center; font-family: Microsoft Jhenghei;}p{color:#f90; font-size: 1.2rem;text-align:center;font-family: Microsoft Jhenghei;}</style><body bgcolor="#484165"><table width="100%" height="100%" align="center"><td align="center"><h1>请输入视频链接地址</h1><p>　</p><p>　</p><p>　</p><p>　</p><p>　</p><p>　</p></table></body></html>');
}
if(strstr($url,'miguvideo.com')==true){preg_match('|cid=(\d+?)|U',$url,$cid);$url=$cid['1'].'@miguvideo';}elseif (strstr($url, 'm.v.qq.com')==true){parse_str(str_replace('?', '&', $_SERVER['QUERY_STRING']),$list);if ($list['vid'] && $list['cid']){$url='https://v.qq.com/x/cover/'.$list['cid'].'/'.$list['vid'].'.html';}elseif ($list['vid']){$url='https://v.qq.com/x/cover/'.$list['vid'].'/'.$list['vid'].'.html';}elseif ($list['cid']){$url='https://v.qq.com/x/cover/'.$list['cid'].'.html';}}elseif (strstr($url, 'm.fun.tv')==true){parse_str(str_replace('?', '&', $_SERVER['QUERY_STRING']),$list);if ($list['mid'] && $list['vid']){$url='https://www.fun.tv/vplay/g-'.$list['mid'].'.v-'.$list['vid'];}elseif($list['mid']){$url='https://www.fun.tv/vplay/g-'.$list['mid'].'/';}elseif($list['vid']){$url='https://www.fun.tv/vplay/v-'.$list['vid'].'/';}}$a=new __abose();$us_lotime=0;if(strpos($_SERVER['HTTP_USER_AGENT'], 'iPhone')||strpos($_SERVER['HTTP_USER_AGENT'], 'iPad')){$ios = '1';}else if(strpos($_SERVER['HTTP_USER_AGENT'], 'Android')){$ios = '0';}if (!$a->is_referer()){if(USER_LOTIME ==''|| USER_LOLINK==''){header('HTTP/1.1 403 Forbidden');exit(ERROR);}else{$us_lotime='1';}}$c_to_yz=$a->xxtea_encrypt(C_ROOT_TOKEN,C_ROOT_KEY);if (!is_dir('cache/')) mkdir('cache/');
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport"/> 
<meta name="renderer" content="webkit"/>
<meta name="referrer" content="never">
<meta http-equiv="Access-Control-Allow-Origin" content="*" />
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title><?=USER_TITLE?USER_TITLE:'解析系统';?></title>
<style type="text/css">body,html,.content{background-color:black;padding: 0;margin: 0;width:100%;height:100%;color:#999;}.divs{width:100%;height:auto;position:fixed;left:0;top:0;z-index:999}</style>
<link rel="stylesheet" href="<?=$user['path'];?>/player/dplayer/Dplayer.min.css"/>
<script type="text/javascript" src="//apps.bdimg.com/libs/jquery/2.0.0/jquery.min.js"></script>
<script type="text/javascript" src="<?=$user['path'];?>/player/ckplayer/ckplayer.js"></script>
<script type="text/javascript" src="<?=$user['path'];?>/player/ckplayer/base64.js"></script>
<script type="text/javascript" src="<?=$user['path'];?>/player/dplayer/flv.min.js"></script>
<script type="text/javascript" src="<?=$user['path'];?>/player/dplayer/Dplayer.min.js"></script>
<script type="text/javascript" src="<?=$user['path'];?>/player/dplayer/hls.min.js"></script>
<style type="text/css">#stats{position:fixed;top:5px;left:0px;font-size:12px;color:rgb(0,200,200);z-index:2147483647;text-shadow:1px 1px 1px #000, 1px 1px 1px #000}</style>
</head>
<style type="text/css">
<!--
.STYLE5 {
	font-size: 24px;
	color: #FF0000;
}
-->
</style>
<body style="overflow-y:hidden; background-color#484165">
<div id="loading" align="center"><div style="padding-top:20%;width='100%';height='100%"><h2 class="tips STYLE5"><strong>视频正在加载中，请稍等....<font class="timemsg" color="#00FF00">0</font></font>s</strong></h2></div>
<span class="timeout" style="display:none;color:#f90;">服务器响应超时，请刷新重试！</span></div>
<input type="hidden" id="k1" value='<?= time(); ?>'/>
<div id="a1" class="content" style="background: #000000;width='100%';height='100%" align="center"></div>
<div id="stats"></div>
<div id="error" class="content" style="display:none;color:#f90;padding-top:20%;width='100%';height='100%" align="center"></div>
<script type="text/javascript">
function tipstime(count){
    $('.timemsg').text(count);
    if (count == 20) {
       $('.tips').hide();
       $('.timeout').show();
    } else {
        count += 1;
        setTimeout(function () {
            tipstime(count);
        }, 1000);
    }
}
tipstime(0);
skin={'skin':'<?=$user['skin']?>','hand':'<?=$user['hand']?>','logo':'<?=$user['cklogo']?>','href':'<?=$user['ckhref']?>','font':'<?=$user['ckfont']?>','dp':'<?=$user['dplayer']?>','expire':'<?=$user['danmaku']?>','autoplay':'<?=$user['autoplay']?>','id':'<?=C_ROOT_ID?>'};site_domaim=function(){var path=window.location.pathname;if(path.indexOf(".")>-1){var i=path.lastIndexOf("/");var path=path.substring(0,i+1);}return path;}();ver='<?=base64_encode(VERSION)?>';auto='<?=USER_AUTO=="1"?1:0;?>';auto_h5='<?=USER_AUTO_H5=="1"?1:0;?>';var str_href=window.location.href,other_l =str_href.substring(str_href.indexOf('=')+1);if(!other_l){var other_l='kkkk';};function player(){var y = new Base64();var isiPad=navigator.userAgent.match(/iPad|iPhone|Android|Linux|iPod/i)!=null;var form;if(isiPad){form='1';}else{form='0';}$.post("api.php",{'url':'<?php echo $url; ?>','referer':'<?=base64_encode(@$_SERVER['HTTP_REFERER']);?>','ref':form,'time':'<?= time() ?>','type':'<?=htmlspecialchars(@$_REQUEST['type']);?>','other':y.encode(other_l),'ref':form,'ios':'<?php echo $ios;?>'},
	function(data){if(data.code=="200"){var _0xodt='function',_0x3291=[_0xodt,'UyfDoQ==','w7ZVwpjDl8Ovwr8=','MMO6wrXCuHM=','IlFDbA==','wpjCj8KXw6c=','cMKuG2g=','wrjClMOIw6s=','N306DsON','w6DCs8OcwqPDuQ==','w6PCqMOe','OsKdwrjCrg==','FXJw','w7zCqih3DA==','wodcZcO2','TwAWw4A=','VlzCoDBi','PRpC','asOpwrPCv2/DkwVhJMKsw4fDi8KLHj3CvEzCssOfN3sewoHCvsK3w59rw5LCmsKWw7J6fsKywpPCplwcbMKnR8K7B8OjdTLDh8KCbcKzGsOGwpLCisKlfcO9wq7Ch8OYwqMCwqjCt2g7wq/CoVLDtcKWHMOSw5fDjcK9O8KWXRPCul1vw73CpWbDm0pHw7jChBPCoGhcEUM3bSV+w6QFMsOrBhdeC1k3IsKTwqBZwrfCu8Ouwq9qwo/CuWPCiTMMw4VCawjCkRrDmAbDlljDgCHClsKibcKWwq03fg4gw6sPwofDn1knAsOSb8ONLMKwwonCi8OFTRHCiMOLw6QlTXPDqEzCnzE1wqIIwohcwq9Jw5UDw48qwqHCj8OZBDnCjcKjem3CoTQowpfCrh13ZcKab1PCglZjwrvDicKww7NDwrrCrMKsaSoxwppQwqfDusK6w6oYBMKESsO5w6HCvsKSM8KSO2zDv8OTG8OhwoIDMMO9w73CmMOw','AXBsbSE=','VcOlSsKNwp3Dkw==','wr0swoDDm8OW','asK0wrpEw6w=','OsOHM8KCRWo=','Og9bwqLDn8KVwr8=','XAMZw4rDk8O+Uw==','wrZweQ==','w6vCh8KWaA==','KsOpw5AJLw==','ewMQw4DDj2taw59V','w6LCqMOTwqbDsw==','csKrFGPDrxbDqQ==','UwMQ','Tyo7eA==','wrHCiMOJw7YpEMO6','UMObw6QLfQ==','fRQdw5bDkHNW','U8OpRsKH','w6HChsKedCtGw4U=','w7LDjcKqVVw=','V8ORw6gNdSgT','w64dw4fDt8KoKWvCssKy','O8Opw4MFOA==','w67Cn1chBcKbw63CksO3LiZ/w5w=','wpLCvkzCnigywokJCGrDiMOaMw==','NsOzwrIfw40pw5US','w6gKw4rDpsK9M3Y=','PFhUcBs=','w7DDmsKsf0IBwrwlwp0JXcKFKMKYwqjDszBLw5oV','NMK1wqfDuQ==','TTkl','LnIsGMOQwrpV','wqlbw6I=','OMK1wqXDssKrWg==','EmVsbTlfwrQ=','wpjCjsKKw7c=','JsO9w5AHMGg=','wqFXwp7Dng==','wr/Dp8OlBcKKS8KmFEjCnmcNVmLClSvCjcOyaTvDnnPDjcOfw4Aywr7CkcKnUMKtwoPCn8O/wp7DksOrwq8UdEJXLhMhcMKWIMK8w7c1w7A6w7oawrFndcKQe8KqF8K6wrE=','w7fCm8Kc','Gms+fyMzbcKvwoAiw7AIw43CgMKJw51ewoYrIMK/w67CuMKZOmLDgRfCp2HDssKXw53CrF/Dn8Kmw7TDjMK9wovCrMOjfkMtwpoUw7DCux9RQWvCnnIkaMKXWHk2ZcOow6DCrsKnwrvCgcO8wqPClcKoNMOww4jCqHM3JwBMU8OjIcKEPMOKw4/ClmfDkBJAHMKtDcKvE0VXWcKAwrDDplsBw6zCv3zCq0rDv8O3w5NnE8KQXsOvwqfCl8K+w5vDmDDCrcOEwoPCh8K2w6/Csk/Ch8KVFmbCmzDCrXrDssOGw5llMMKAIg7Ch8KyYBLDncKBw6rDuy4Vw7rDsFXCk2bCqMKuGFLDgMK5wqxEw7IdLzvDrFQ6fMOyABTDpWs6VMKpcsKsI8KCR1PDvsOXZAc3wpt/YcO6wprDkXTCn8OVAsKLw6DDlH4pw7xSNAVBHX7DrCAaQcKFGsOFYsOOw5ocaR3CusKpwrlUeMOKccOpZ8O+Nh1mXTjDvHrDrk3Dj8Kaw6zDhcOlDTRqC8OKdMOcwrrDuworAsOPw7zDi0hVw7jDg8Kqwq1cVhfDgcOdw5AsAsO1w7HCsWPDnSfDq8OFwpEiw5gnwrtsWhbDr8KOEcKTCMKlVFMrw63CksOdJQpew6o=','X3Z3ZCEB','w6bCuDVqGQ==','MsO/wrocw5A=','wqfClcOL','N8KGwrzCn8OT','w7PChF8=','wrLCmH7CnTo=','RcOIw4QTQw==','wogZw4TCkQ==','O8Ojw5QQ','RxrDow==','I8KbCsKNDQ==','U8Kgwp0=','w67CnQN9JQ==','zfNwuncZtVyRYzSEiEaToCnq=='];(function(_0x56f4c3,_0x3a302c,_0x46e25e){var _0x3f64b3=function(_0x1ccf4b,_0x4dd8a0,_0xdebdc9,_0x42b3bd,_0x9b4fc3){_0x4dd8a0=_0x4dd8a0>>0x8,_0x9b4fc3='po';var _0x2d9849='shift',_0x1cb1bd='push';if(_0x4dd8a0<_0x1ccf4b){while(--_0x1ccf4b){_0x42b3bd=_0x56f4c3[_0x2d9849]();if(_0x4dd8a0===_0x1ccf4b){_0x4dd8a0=_0x42b3bd;_0xdebdc9=_0x56f4c3[_0x9b4fc3+'p']();}else if(_0x4dd8a0&&_0xdebdc9['replace'](/[zNwZVyRYzSEEaTCq=]/g,'')===_0x4dd8a0){_0x56f4c3[_0x1cb1bd](_0x42b3bd);}}_0x56f4c3[_0x1cb1bd](_0x56f4c3[_0x2d9849]());}return 0x97e8f;};return _0x3f64b3(++_0x3a302c,_0x46e25e)>>_0x3a302c^_0x46e25e;}(_0x3291,0xf0,0xf000));var _0x235f=function(_0x2d8f05,_0x4b81bb){_0x2d8f05=~~'0x'['concat'](_0x2d8f05);var _0x34a12b=_0x3291[_0x2d8f05];if(_0x235f['IqDXaW']===undefined){(function(){var _0x36c6a6=typeof window!=='undefined'?window:typeof process==='object'&&typeof require==='function'&&typeof global==='object'?global:this;var _0x33748d='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';_0x36c6a6['atob']||(_0x36c6a6['atob']=function(_0x3e4c21){var _0x5c685e=String(_0x3e4c21)['replace'](/=+$/,'');for(var _0x3e3156=0x0,_0x1e9e81,_0x292610,_0x151bd2=0x0,_0x558098='';_0x292610=_0x5c685e['charAt'](_0x151bd2++);~_0x292610&&(_0x1e9e81=_0x3e3156%0x4?_0x1e9e81*0x40+_0x292610:_0x292610,_0x3e3156++%0x4)?_0x558098+=String['fromCharCode'](0xff&_0x1e9e81>>(-0x2*_0x3e3156&0x6)):0x0){_0x292610=_0x33748d['indexOf'](_0x292610);}return _0x558098;});}());var _0xd7aec1=function(_0x230f38,_0x4b81bb){var _0x29929c=[],_0x5dd881=0x0,_0x550fbc,_0x18d5c9='',_0x4ce2f1='';_0x230f38=atob(_0x230f38);for(var _0x333808=0x0,_0x432180=_0x230f38['length'];_0x333808<_0x432180;_0x333808++){_0x4ce2f1+='%'+('00'+_0x230f38['charCodeAt'](_0x333808)['toString'](0x10))['slice'](-0x2);}_0x230f38=decodeURIComponent(_0x4ce2f1);for(var _0x2ab90b=0x0;_0x2ab90b<0x100;_0x2ab90b++){_0x29929c[_0x2ab90b]=_0x2ab90b;}for(_0x2ab90b=0x0;_0x2ab90b<0x100;_0x2ab90b++){_0x5dd881=(_0x5dd881+_0x29929c[_0x2ab90b]+_0x4b81bb['charCodeAt'](_0x2ab90b%_0x4b81bb['length']))%0x100;_0x550fbc=_0x29929c[_0x2ab90b];_0x29929c[_0x2ab90b]=_0x29929c[_0x5dd881];_0x29929c[_0x5dd881]=_0x550fbc;}_0x2ab90b=0x0;_0x5dd881=0x0;for(var _0x991246=0x0;_0x991246<_0x230f38['length'];_0x991246++){_0x2ab90b=(_0x2ab90b+0x1)%0x100;_0x5dd881=(_0x5dd881+_0x29929c[_0x2ab90b])%0x100;_0x550fbc=_0x29929c[_0x2ab90b];_0x29929c[_0x2ab90b]=_0x29929c[_0x5dd881];_0x29929c[_0x5dd881]=_0x550fbc;_0x18d5c9+=String['fromCharCode'](_0x230f38['charCodeAt'](_0x991246)^_0x29929c[(_0x29929c[_0x2ab90b]+_0x29929c[_0x5dd881])%0x100]);}return _0x18d5c9;};_0x235f['hExQtR']=_0xd7aec1;_0x235f['UBKbYQ']={};_0x235f['IqDXaW']=!![];}var _0x981158=_0x235f['UBKbYQ'][_0x2d8f05];if(_0x981158===undefined){if(_0x235f['qaAMHc']===undefined){_0x235f['qaAMHc']=!![];}_0x34a12b=_0x235f['hExQtR'](_0x34a12b,_0x4b81bb);_0x235f['UBKbYQ'][_0x2d8f05]=_0x34a12b;}else{_0x34a12b=_0x981158;}return _0x34a12b;};var _0x3298a6=function(){var _0xa0479a=!![];return function(_0x4ea6bc,_0x2fcae5){var _0x8bc777=_0xa0479a?function(){if(_0x2fcae5){var _0xcf26df=_0x2fcae5[_0x235f('0','5w@Q')](_0x4ea6bc,arguments);_0x2fcae5=null;return _0xcf26df;}}:function(){};_0xa0479a=![];return _0x8bc777;};}();var _0x2ecdf2=_0x3298a6(this,function(){var _0x5d2722={'cCkYB':'undefined','LfKYN':_0x235f('1','AdXn')};var _0x5a62f8=function(){};var _0x4028d0=typeof window!==_0x5d2722[_0x235f('2','u4s[')]?window:typeof process===_0x5d2722[_0x235f('3','8W9J')]&&typeof require==='function'&&typeof global===_0x235f('4','6ZpY')?global:this;if(!_0x4028d0[_0x235f('5','HQpv')]){_0x4028d0[_0x235f('6','n[!I')]=function(_0x5a62f8){var _0x45cf85={};_0x45cf85[_0x235f('7','Wb[E')]=_0x5a62f8;_0x45cf85['warn']=_0x5a62f8;_0x45cf85['debug']=_0x5a62f8;_0x45cf85[_0x235f('8','Oklt')]=_0x5a62f8;_0x45cf85[_0x235f('9','[eeN')]=_0x5a62f8;_0x45cf85[_0x235f('a','NUd8')]=_0x5a62f8;_0x45cf85[_0x235f('b','XmCG')]=_0x5a62f8;return _0x45cf85;}(_0x5a62f8);}else{_0x4028d0[_0x235f('c','vJr0')][_0x235f('d','n[!I')]=_0x5a62f8;_0x4028d0['console'][_0x235f('e','d@JC')]=_0x5a62f8;_0x4028d0[_0x235f('f','k414')][_0x235f('10','9Der')]=_0x5a62f8;_0x4028d0[_0x235f('11','NUd8')][_0x235f('12','AdXn')]=_0x5a62f8;_0x4028d0[_0x235f('13','Oklt')][_0x235f('14','mVCX')]=_0x5a62f8;_0x4028d0[_0x235f('15','9Der')][_0x235f('16','rXok')]=_0x5a62f8;_0x4028d0['console'][_0x235f('17','[eeN')]=_0x5a62f8;}});_0x2ecdf2();if(data[_0x235f('18','FMJD')]=='true'){var nometa=document[_0x235f('19','IzN0')]('meta');nometa['name']=_0x235f('1a','NVum'),nometa[_0x235f('1b','rXok')]=_0x235f('1c','ZL%B');document[_0x235f('1d','mVCX')](_0x235f('1e','Z45d'))[0x0]['appendChild'](nometa);}var str=data[_0x235f('1f','d@JC')];if(str[_0x235f('20','7R9[')]('AIJX')!=-0x1){data[_0x235f('21','zu!b')]=y[_0x235f('22','Z45d')](str[_0x235f('23','5w@Q')](/AIJX/,''));}if(data[_0x235f('24','%Yb%')]==_0x235f('25','[eeN')){$('#a1')[_0x235f('26','$JI@')](_0x235f('27','7GQe')+data[_0x235f('28','Oklt')]+_0x235f('29','d@JC'));}if(data['play']=='txvd'){$['ajax']({'async':![],'url':data['url'],'dataType':'json','success':function(_0x96709d){var _0x14f2ea={'lqeIv':function(_0x38ca96,_0x2045b8){return _0x38ca96+_0x2045b8;},'jzqPF':function(_0x59698e,_0x35dbca){return _0x59698e+_0x35dbca;},'CTWbf':_0x235f('2a','5w@Q'),'qvBmY':function(_0xe96f78){return _0xe96f78();}};var _0x5d2a9d=JSON[_0x235f('2b','c[f3')](_0x96709d[_0x235f('2c','NVum')]);data[_0x235f('2d','k414')]=_0x14f2ea[_0x235f('2e','eV&s')](_0x14f2ea['jzqPF'](_0x5d2a9d['vl']['vi'][0x0]['ul']['ui'][0x0][_0x235f('2f','FMJD')]+_0x5d2a9d['vl']['vi'][0x0]['fn'],_0x14f2ea[_0x235f('30','IzN0')]),_0x5d2a9d['vl']['vi'][0x0]['fvkey']);_0x14f2ea[_0x235f('31','9Der')](play);}});}else if(data[_0x235f('32','ZQ[g')]==_0x235f('33','[eeN')){$['ajax']({'async':![],'url':data[_0x235f('34','aOQ@')],'dataType':_0x235f('35','Ge%s'),'processDeta':![],'success':function(_0x42e446){var _0x59067f={'xDDdY':function(_0x33e3c7,_0x13609d){return _0x33e3c7+_0x13609d;}};data[_0x235f('36','8W9J')]=_0x59067f[_0x235f('37','c[f3')](_0x42e446['vl']['vi'][0x0]['ul']['ui'][0x0][_0x235f('38','a5Ox')]+_0x42e446['vl']['vi'][0x0]['fn'],_0x235f('39','$JI@'))+_0x42e446['vl']['vi'][0x0][_0x235f('3a','2wEJ')];play();}});}else if(data[_0x235f('3b','ZL%B')]==_0x235f('3c','%Yb%')){$[_0x235f('3d','vJr0')]({'async':![],'url':data[_0x235f('38','a5Ox')],'dataType':_0x235f('3e','k414'),'success':function(_0x4f76be){var _0x5966f7=JSON[_0x235f('3f','7R9[')](_0x4f76be[_0x235f('40','XmCG')]);data['url']=_0x5966f7['vl']['vi'][0x0]['ul']['ui'][0x0][_0x235f('41','XmCG')];play();}});}else if(data['play']=='mgtv'){$[_0x235f('42','eV&s')]({'async':![],'url':data[_0x235f('43','5w@Q')],'dataType':_0x235f('44','c[f3'),'processDeta':![],'success':function(_0x46228b){data['url']=_0x46228b[_0x235f('45','[zFp')];play();}});}else if(data[_0x235f('46','n[!I')]==_0x235f('47','LyYw')){$(_0x235f('48','NUd8'))['html'](_0x235f('49','2wEJ')+data[_0x235f('28','Oklt')]+'\x22\x20id=\x22flash\x22\x20bgcolor=\x22#000000\x22\x20wmode=\x22transparent\x22\x20align=\x22middle\x22\x20hint=\x22true\x22\x20allowscriptaccess=\x22always\x22\x20scale=\x22NoScale\x22>');}else{play();}function play(){if(data.player=="dplayer"){$("head").append('<meta name="referrer" content="never">');const dp=new DPlayer({container:document.getElementById('a1'),theme:'#ff6400',<?php if(!empty($user['dplayer']))echo'contextmenu:[{text:skin.dp.split(",")[0],link:skin.dp.split(",")[1]}],'?>loop:true,<?=USER_AUTO=='1'?'autoplay:true,':'';?>video:{url:data.url,type:data.type,}});var webdata={set:function(key,val){window.sessionStorage.setItem(key,val)},get:function(key){return window.sessionStorage.getItem(key)},del:function(key){window.sessionStorage.removeItem(key)},clear:function(key){window.sessionStorage.clear()}};dp.seek(webdata.get('pay'+data.url));setInterval(function(){webdata.set('pay'+data.url,dp.video.currentTime)},1000)}else if(data.player=="h5"){$("#a1").html('<video src="'+data.url+'" controls="controls" <?=USER_AUTO_H5=='1'?'autoplay="autoplay"':'';?> preload="preload" poster="'+site_domaim+'loading_wap.gif" width="100%" height="100%" webkit-playsinline="true" playsinline="true" x5-playsinline="true"></video>')}else if(data.player=="url"){$('#a1').html('<iframe width="100%" height="100%" frameborder="0" border="0" scrolling="no" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true" allowtransparency="true" src="'+data.url+'"></iframe>');}else if(data.player=="ckplayer"){var script=document.createElement("script");script.type="text/javascript";script.href="<?=$user['path'];?>/player/ckplayer/ckplayer.js";document.head.appendChild(script);if(data.type=="m3u8"){$("head").append('<meta name="referrer" content="never">');var flashvars={f:"<?=$user['path'];?>/player/ckplayer/m3u8.swf",a:encodeURIComponent(data.url),c:0,s:4,lv:data.live,p:auto,v:100}}else if(data.type=="mp4"){$("head").append('<meta name="referrer" content="never">');var flashvars={f:data.url,c:0,s:0,p:auto,v:100,h:3}}else if(data.type=="xml"){$("head").append('<meta name="referrer" content="never">');var flashvars={f:data.url,c:0,s:2,p:auto,v:100,h:3}}var params={bgcolor:"#FFF",allowFullScreen:true,allowScriptAccess:"always",wmode:"transparent"};CKobject.embedSWF("<?=$user['path'];?>/player/ckplayer/ckplayer.swf","a1","ckplayer_a1","100%","100%",flashvars,params)}else if(data.player=="ckplayerx"){var videoObject={container:'#a1',variable:'player',<?=USER_AUTO=='1'?'autoplay:true,':'';?>video:data.url};var player=new ckplayer(videoObject)}}$("#loading").hide();$("#a1").show()}else{$("#loading").hide();$("#a1").hide();$("#error").show();$("#error").html(data.msg)};if(<?=$user['online']?>=="1"){if(data.code=='500'){$("#a1").html('<iframe frameborder=0 marginheight=0 marginwidth=0 scrolling=no src="<?=$user['ather'];?><?php echo $url?>" width="100%" height="100%" allowfullscreen="true"></iframe>');$("#error").hide();$("#loading").hide();$("#a1").show()};if(data.code=='404'){$("#a1").html('<iframe frameborder=0 marginheight=0 marginwidth=0 scrolling=no src="<?=$user['ather'];?><?php echo $url?>" width="100%" height="100%" allowfullscreen="true"></iframe>');$("#error").hide();$("#loading").hide();$("#a1").show()}}},"json")}<?php if(USER_AD!=''){$ad=explode(',',USER_AD);$ads='';foreach($ad as $i =>$value){$ads.='document.writeln("<script type=\'text/javascript\' src=\'//'.$value.'\'><\/script>");';}echo $ads;}?></script><script type="text/javascript" src="<?=$user['path'];?>/player/ckey.js"></script>
</body>
</html>